

class People:
    def __init__(self,tall):
        self.tall=tall

    @staticmethod  #静态方法
    def  geteyes():
        return 2

    def gettall(self):
        return self.tall

print(People.geteyes()) #通用的东西，静态方法
p1=People(187)
print(p1.geteyes()) #实例化也可以调用
print(type(People.geteyes))
print(type(People.gettall))

